import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:potato_music_app/pages/tabbar/home/widgets/home_list_item.dart';

class MusicHomePage extends StatefulWidget {
  @override
  _MusicHomePageState createState() => new _MusicHomePageState();
}

class _MusicHomePageState extends State<MusicHomePage> {
  int userAge;
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('home page')
      ),
      body: Container(
        child: Container(
          margin: EdgeInsets.symmetric(
            horizontal: ScreenUtil().setWidth(30.0)
          ),
          child: ListView(
            children: <Widget>[HomeListItem(), HomeListItem()]
          )
        )
      )
    );
  }
}